<template>
    <div class="better-scroll">
      <button @click="goTopage('/better-scroll/basic')">基础使用</button>

      <router-view></router-view>
    </div>
</template>

<script>
    export default {
        name: "BetterScroll",
      methods:{
        goTopage(path){
          this.$router.push(path)
        }
      }
    }
</script>

<style scoped>

</style>
